{extend name="public/base"/}

{block name="body"}
<div class="main-box no-header clearfix">
	<header class="main-box-header clearfix">
		<!-- 标题栏 -->
		<div class="pull-left">
			<h2>{$meta_title}</h2>
		</div>
		<div class="pull-right">
        	<a class="btn btn-warning ajax-get confirm" href="{:url('clear')}">清 空</a>
			<!--<button class="btn btn-danger ajax-post confirm" target-form="ids" url="{:url('dellog')}">删 除</button>-->
		</div>
	</header>

	<div class="main-box-body clearfix">
		<!-- 数据列表 -->
		<table class="table table-striped">
			<thead>
				<tr>
					<th class="">编号</th>
					<th class="">用户名</th>
					<th class="">请求方法</th>
					<th class="width:200px;">请求URL</th>
					<th class="">请求参数</th>
					<th class="">操作人</th>
					<th class="">操作时间</th>
				</tr>
			</thead>
			<tbody>
				{volist name="list" id="vo"}
				<tr>
					<td>{$vo['id']} </td>
					<td>{:get_nickname($vo['user_id'])}</>
					<td>{$vo['request_method']} </td>
					<td>{$vo['request_url']} </td>
					<td>{$vo['request_params']} </td>
					<td>{$vo['user_id']} </td>
					<td>{$vo['create_time']} </td>
				</tr>
				{/volist}
			</tbody>
		</table>
		<!-- 分页 -->
		{$page|default=''}
		<!-- /分页 -->
	</div>
</div>
{/block}